﻿@model SnippetBox.Web.Models.SnippetIndexModel

@{
    ViewBag.Title = "Store your snippets";
}
    <h1 class="hide">Snippet Box</h1>

    <div class="column2">
        <h2>Latest Snippets</h2>

        @foreach (var snippet in Model.LatestSnippets) {
            @Html.DisplayFor(m => snippet)
        }
    </div>

    <div class="column2">
        <h2>Popular Snippets</h2>

        @foreach (var snippet in Model.PopularSnippets) {
            @Html.DisplayFor(m => snippet)
        }
    </div>
